package com.example.chatapp.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultMessage {
    private String roomId;
    private Long seq;
    private boolean system;
    private String fromName;
    private String toUser;      // optional
    private Object message;
    private long ts;
}
